package com.songlanyun.modules.singlegoods.model;

import com.songlanyun.common.drive.ValueObject;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

@Data
public class ChangeStockDTO  implements ValueObject {
    Long id;
    @Range(min = 0, max = 999999, message = "改变库存在0-999999之间")
    int stock;
}
